#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName :cp2_2.22.py
# @Time     :2023/9/2 22:32
# @Author   :Ash
import numpy

if __name__ == "__main__":
    a = numpy.arange(12)
    print(a)
    print(type(a))
    print(a.shape)
    a.shape = 3, 4
    print(a)
    print(a[2])
    print(a[2][1])
    print(a[:, 1])
    print(a.transpose())
